package per.hx.bs.base.domain;


/**
 * @author HuXing
 * @date 2018/4/1  0:10
 */
public class PageDTO {

    private Integer total;
    private Object rows;

    public PageDTO() {
    }

    public PageDTO(Integer total, Object rows) {
        this.total = total;
        this.rows = rows;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public Object getRows() {
        return rows;
    }

    public void setRows(Object rows) {
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "PageDTO{" +
                "total=" + total +
                ", rows=" + rows +
                '}';
    }
}
